package com.yxw.live_vod_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxw.live_vod_boot.entity.YxOnDemandCollectionVideoEntity;
import com.yxw.live_vod_boot.vo.OnDemandCollectionVideoVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author fangmaoxin
 * &#064;date  2023年11月16日
 */
@Repository
public interface OnDemandCollectionVideoMapper extends BaseMapper<YxOnDemandCollectionVideoEntity> {

    List<OnDemandCollectionVideoVO> getCollectionVideoByUserId(Page<YxOnDemandCollectionVideoEntity> page, @Param("userId") Long userId);
}